package com.hsbc.dev.teamo4.sms.sm.service;

import com.hsbc.dev.teamo4.sms.common.base.IEntityService;
import com.hsbc.dev.teamo4.sms.sm.po.Dictionary;

import java.util.List;

/**
 * @Description: service 接口
 * @author: Young
 * @version:
 * @Project: permission_manage
 * @Package: com.hsbc.dev.teamo4.sms.sm.service
 * @Date date: 2018/7/28
 */
public interface IDictionaryService extends IEntityService<Dictionary> {


    /**
     * @Description: 根据字典名称查询出所有匹配的记录。
     * @Param: [dictionaryName]
     * @return: java.util.List<com.hsbc.dev.teamo4.sms.sm.po.Dictionary>
     * @Author: Young
     * @Date: 2018/7/28
     */
    List<Dictionary> findAllDictionaryByName(String dictionaryName);

    /**
     * @Description: 删除字典记录。
     * @Param: [id]
     * @return: boolean
     * @Author: Young
     * @Date: 2018/7/28
     */
    boolean deleteDictionary(String id);
}
